import mongoose from 'mongoose'

let UserSchema = new mongoose.Schema({
    username:{
        type: String,
        unique: true,
        require: true
    },
    password:{
        type: String,
        require: true
    },
    email:{
        type: String,
        require: true    
    }
})

export default mongoose.model('user' , UserSchema)